package com.orcamento.entity.model;

import org.joda.time.DateTime;

import com.orcamento.util.Money;

public class Payment {

	private Long id;
	private Money value;
	private DateTime purchasedDay;
	private String eventName;
	private String type;
	private Integer numberOfInstallments;
	private Integer installment;
	
	public Payment() { }
	
	public Payment(Long id, Money value, DateTime purchasedDay, String eventName, String type, Integer numberOfInstallments, Integer installment) {
		this.id = id;
		this.value = value;
		this.purchasedDay = purchasedDay;
		this.eventName = eventName;
		this.type = type;
		this.numberOfInstallments = numberOfInstallments;
		this.installment = installment;
	}
	
	public Money getValue() {
		return value;
	}
	public void setValue(Money value) {
		this.value = value;
	}
	public DateTime getPurchasedDay() {
		return purchasedDay;
	}
	public String getEventName() {
		return eventName;
	}
	public String getType() {
		return type;
	}
	public Integer getNumberOfInstallments() {
		return numberOfInstallments;
	}
	public Integer getInstallment() {
		return installment;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
}
